@import '~@/style/base.less';
@goods_modal_main_height: 770px;
@keyframes mask-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.modal_bg {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  animation: mask-in 0.5s;
}

.goods_modal_main {
  position: fixed;
  left: 56px;
  right: 56px;
  background: #fff;
  display: flex;
  flex-flow: column;
  border-radius: 8px; 
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  background-size: contain;
  bottom: 300px;
  overflow: hidden;
  z-index: 99;
  :global {
    animation: bounceInDown 600ms;
  }


.banner_holder {
  height: 402px;
}
.index_banner {
  height: 400px;
  .banner_item {
    height: 400px;
  }
  .banner_dots {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    z-index: 3;
  }
}
.goods_detail_info {
  padding: 0 30px;
  margin-top: 43px;
  >div {
    .frow(space-between, center);
    color: @color_subtext;
    font-size: 24px;
    margin-bottom: 0.2rem;
    p {
      color: @color_text;
      font-size: 30px;
    }
    .price {
      color: @color_price;
      font-size: 28px;
    }
  }
}
.goods_detail_add_cart_btn {
  background-color: @color_theme;
  color: #fff;
  font-size: 36px;
  height: 96px;
  line-height: 96px;
  text-align: center;
}
}
.modal_close_icon {
  position: fixed;
  z-index: 99;
  bottom: 200px;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62px auto;
  font-size: 12px;
  padding-top: 46px;
  text-align: center;
  background-image: url('~@/assets/images/modal_close_icon.png');
  left: 50%;
  transform: translate(-50%);
  animation: mask-in 0.2s;
  // :global {
  //   animation: bounceInDown 600ms;
  // }
}